package com.ssy.lingxi.message.model.dto;


import com.ssy.lingxi.common.model.vo.PageVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * IM获取聊天记录 - DTO
 * @author fhj
 * @date 2021/03/29
 * @version 2.0.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ImGetChatRecordDTO extends PageVO {

    private static final long serialVersionUID = 6240357560910470676L;

    @NotNull(message = "发送方UserId不能为空")
    @ApiModelProperty(value = "发送方UserId")
    private String from;

    @NotNull(message = "接收方UserId不能为空")
    @ApiModelProperty(value = "接收方UserId")
    private String to;
}
